package com.qingzhuge.resource.dto.response;


import com.qingzhuge.common.enums.EResourceType;
import com.qingzhuge.dto.response.BaseResponsePkLongDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

/**
 * @author : zero.xiao
 * @description : 菜单管理
 * @date :2018/6/8 0008 下午 15:00
 * @modified :
 */
@Setter
@Getter
@ApiModel("菜单")
public class SysResourceResponseDto extends BaseResponsePkLongDto {
    private static final long serialVersionUID = 7297337976864115243L;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("状态")
    private Integer status;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("父菜单")
    private SysResourceResponseDto parent;
    @ApiModelProperty("URL")
    private String url;
    @ApiModelProperty("显示")
    private Boolean display;
    @ApiModelProperty("请求类型")
    private String requestMethod;
    @ApiModelProperty("授权")
    private String permission;
    @ApiModelProperty("类型")
    private EResourceType type;
    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty("排序")
    private Integer orderNum;
    @ApiModelProperty("ztree属性")
    private Boolean open;
    @ApiModelProperty("ztree属性")
    private List<?> list;
    @ApiModelProperty("ztree属性")
    private Integer leaf = 1;
    @ApiModelProperty("ztree属性")
    private String typeName;
    @ApiModelProperty("ztree属性")
    private String permissionText;
}
